/**
 * Created by zyy on 15/9/8.
 * zhangyuyu@superjia.com
 */
(function($) {
    'use strict';

    var layout = {
        init: function(container, options) {
            var self = this;
            self.__container = container;
            self.__options = options;

            container.html(tpl);

            self.__templatePanel = container.find('.template-wrap');

            $.jps.trigger('layout-inited', {
                templatePanel: self.__templatePanel
            })
        },

        switchPanel: function(panel) {
            var self = this;
            var container = self.__container;
        }
    };

    var tpl = '' +
        '<div class="mod-layout">' +
        '    <div class="template-wrap"></div>' +
        '</div>';


        App.modules.layout = layout;
})(jQuery);
